package com.spring.dao.Impl;

import com.spring.dao.BookDao;

/**
 * @author:CoolTiger
 * @description: TODO
 * @date:2024/04/23/22:38:21
 **/
public class BookDaoImpl implements BookDao {
    private int connectionNum;
    private String databaseName;

    public void setConnectionNum(int connectionNum) {
        this.connectionNum = connectionNum;
    }

    public void setDatabaseName(String databaseName) {
        this.databaseName = databaseName;
    }

    public void save() {
        System.out.println("BookDao save ... connectionNum="+connectionNum+",databaseName="+databaseName);
    }

    //初始化
    public void init(){
        System.out.println("init ...");
    }
    //销毁
    public void destroy(){
        System.out.println("destroy ...");
    }
}
